<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/4/2
  Time: 16:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="java.util.Enumeration" %>

<html>
<head>
    <title>Title</title>
</head>
<body>

<%
    Enumeration enu = request.getHeaderNames();
    while (enu.hasMoreElements()){
        String name = (String) enu.nextElement();
        String headerValue = request.getHeader(name);
%>
<h3>
    <%= name %> ---->  <%= headerValue %>
</h3>

<%
    }
%>


</body>
</html>
